from django.conf.urls import patterns, include, url
from django.conf import settings
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
from cashgirls import views
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'cashGirls.views.home', name='home'),
    # url(r'^cashGirls/', include('cashGirls.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    url(r'^profile/(?P<user_id>\w+)/', views.display_profile, name='display_profile'),
    url(r'^$', views.index, name='index'), 
    #url(r'^$', include('main.urls')),
    url(r'^member/', include('member.urls')),
    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    url(r'^admins/', include('admin.urls')),
    url(r'^i18n/', include('django.conf.urls.i18n')),
    
)

urlpatterns += patterns('',(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}))